package com.es.service;

import com.es.domain.EsMetaResult;
import com.es.domain.Student;
import com.es.entity.StudentDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 描述:
 * es-meta-
 *
 * @author Derek
 * @create 2021-11-30 10:37
 */
public interface StudentServiceI {
    /**
     * @return
     */
    EsMetaResult<List<Student>> list();


    /**
     * @param student
     * @return
     */
    EsMetaResult<String> save(Student student);

    EsMetaResult<Student> getById(@Param("id") Integer id);

}
